package com.futures.questionbank.db.table;

import com.futures.questionbank.db.Text;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

/**
 * author : huang
 * date   : 2020/6/16 0016 8:41
 * version: 1.0
 */
@Table(database = Text.class)
public class User extends BaseModel {

    public int getId() {
        return id;
    }

    public String getPhone() {
        return phone;
    }

    public String getPassword() {
        return password;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @PrimaryKey(autoincrement = true)
    private int id;

    @Column
    private String phone;

    @Column
    private String password;
}
